<%--
  Created by IntelliJ IDEA.
  User: nico
  Date: 08/09/12
  Time: 23:22
  To change this template use File | Settings | File Templates.
--%>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<div id="table_content">
    <table>
        <tbody>
        <thead>
        <th>Drug Name</th>
        <th>Drug Number</th>
        </thead>
        <s:iterator value="drogas">
        <tr>
            <s:hidden id="a" value="%{id}"> </s:hidden>
            <th><s:a href="#" onclick="closeWindow('%{id}','%{drugName}')" theme="simple" > <s:property value="drugName"/>, <s:property value="name"/></s:a></th>
            <th><s:a href="#" onclick="closeWindow('%{id}','%{drugName}')" theme="simple" > <s:property value="drugNumber"/></s:a> </th>
        </tr>
        </s:iterator>
        <tbody>
    </table>
</div>